using System.Collections;
using System.Collections.Generic;
using UnityEngine;

class MainPageSetActiveNode : SetActiveNode
{
	protected override void SetCanShow(bool bActive)
	{
		base.SetCanShow(bActive);

		for (int i = 1; i < this.uiPath.Count; i++) {
			MainPage.SetPermanentHide(this.uiPath[i].Substring(0, this.uiPath[i].IndexOf('#')), !bActive);
		}
	}
}
